package com.example.springioc.DI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UsercontrollerDI {
    @Autowired
    private  UserServiceDI userServicedi;
    //private final UserServiceDI userServiceDI=new UserServiceDI();
    public void start(){
        userServicedi.start();
    }

}
